<html><body>
<style>*{ margin:0; padding:0; font-family:"微软雅黑";}p{ line-height:18px;}</style>
<form id="express_print"  w="380" h="536">
<div id="printarea" style="width:380px;height:536px;margin:0 auto; position:relative; overflow:hidden;">
<div style="margin:3px; border:dashed 1px #000; height:530px;text-align:left;font-size: 12px;">
<div style="float:left;font-size:65px; margin: 5px 10px; line-height:65px;">SPS</div>

<div style=" float:right; height:60px; width:210px; overflow:hidden; padding-top:15px; ">[运单号条码]</div>
<div id="divFaUser" align="left" style=" clear:both; border-top:dashed 1px #000; padding:0 5px; height:55px; overflow:hidden;">
<p>时间:[发货时间]</p>

<p>寄件:[发件人] [发件电话]</p>

<p style="text-indent:2em;">[发件地址]</p>
</div>


<div id="divShouUser" align="left" style="clear:both; border-top:dashed 1px #000; padding:0 5px; height:65px; overflow:hidden;">
<p style="line-height:20px;">收件:<span style="font-size:15px; font-weight:bold;">[收件人] [收件电话]</span></p>

<p style="line-height:20px;text-indent:2em;"><span style="font-size:14px; font-weight:bold;">[发往地址]</span></p>
</div>

<div id="divSheetInfo" align="left" style=" border-top:dashed 1px #000; padding:0 5px;height:65px; overflow:hidden;">
<div style="float:left;  width:50%;">
<p>付款方式：[支付方式]</p>
<p>计费重量(KG)：[计费重量]</p>
<p>保价金额（元）:[保价金额]</p>
</div>
<div style="float:left; padding-left:5px;border-left:dashed 1px #000;">
<p>收件人/代收人：</p>
<p>签收时间:&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp;日&nbsp;&nbsp;&nbsp;时</p>
<p style="width:160px; font-size:9px; line-height:15px;-webkit-transform: scale(0.75);">快件送达收货人地址，经寄件人收件人允许的代收人签字，视为送达。</p>
</div>

</div>


<div style="clear:both;border-top:dashed 1px #000; padding:0 5px; height:63px; overflow:hidden;border-bottom:dashed 1px #000;">
<p>订单号：[订单条码]</p><span style="float:right;">件数：[产品件数]重量（KG):[计费重量]</span>

<p>配货信息：[配货信息]</p>
</div>

<div style="clear:both;border-top:dashed 1px #000; padding:5px 5px 0; margin-top:10px;">
<p>[运单号条码]</p>
</div>


<div id="divOtherInfo" align="left" style=" border-top:dashed 1px #000; padding:0 5px;">
<div style="float:left;  width:50%;">

<p>寄件:[发件人] [发件电话]</p>

<p style="text-indent:2em;">[发件地址]</p>
</div>
<div style="float:left; padding-left:5px;border-left:dashed 1px #000;width:160px;">
<p>收件:[收件人] [收件电话]</p>

<p style="text-indent:2em;">[发往地址]</p>
</div>

</div>


<div align="left" style=" border-top:dashed 1px #000; padding:0 5px; clear:both; ">
<p>备注:</p>
</div>

</div>

</div>
</form>
<{if $isGetContent==0}><center id="print_btn"><input type="button" value="打 印" onClick="printArea();" class="btn-sub"></center><{/if}>
<script>function printArea(){
	document.getElementById("print_btn").style.display="none";window.print();if(confirm("打印完成？")){document.getElementById("print_btn").style.display="block";window.location.href="<{$config[weburl]}>/admin/module.php?m=logistics&s=print.php&type=update_express_print_status&oid=<{$de.order_id}>";}else{printArea()}}
    
    /*
	var iframe = document.createElement('IFRAME');
	iframe.width='0'
	iframe.style.height='0'
	document.body.appendChild(iframe);
	var doc = iframe.contentWindow.document;
	doc.write(document.getElementById('express_print').innerHTML);
	doc.close();
        var frameWindow = iframe.contentWindow;
        frameWindow.close();
        frameWindow.focus();
        frameWindow.print();
		if(confirm("打印完成？")){
			document.body.removeChild(iframe);
			}else{document.body.removeChild(iframe);printArea();}
	
	*/
    </script>
</body>
</html>
